Page({
  data: {
    notifyList: []
  },
  onLoad() {
    console.log(111);
    this.getNotifyList()
  },
  //获取通知列表
  async getNotifyList() {
    const res = await wx.http.get('/announcement')
    this.setData({
      notifyList: res.data
    })
  }
})